@charset "utf-8";
$fontSize:100;
@function r($p) {
    @return $p/$fontSize*1rem;
}

* {
    font-family: "or";
}

html, body{
    overflow-x: hidden;
}
//头部
header{
    padding: r(20) 0;
    position: fixed;
    z-index: 2;
    background-color: white;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}
#catalog{
    float: left;
    padding-left: r(60);
    line-height: r(68);
    cursor: pointer;
    i{
        font-size: r(34);
    }
}
#search{
    float: right;
    line-height: r(68);
    padding-right: r(60);
    cursor: pointer;
    i{
        font-size: r(34);
    }
}
.logo{
    width: r(85);
    margin: 0 auto;
    img{
        width: 100%;
    }
}
section,footer{
    position: relative;
    opacity: 0.99;
}
footer{
    position: relative;
    width: 100%;
}
.foot_img{
    width: 100%;
    img{
        width: 100%;
        border: 0;
        vertical-align: bottom;
    }
}
.foot{
    overflow: hidden;
    background-color: rgba(10,9,6,0.5);
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
}
.foot_sign{
    margin-top: r(45);
    margin-bottom: r(45);
    display: inline-block;
    >p{
        font-size: 12px;
        color: white;
    }
    >form{
        width: r(434);
        height: r(45);
        position: relative;
        margin-top: r(29);
        input::-webkit-input-placeholder {
            color: #666666;
            opacity: 1;
            font-family: arial;
        }
        a{
            position: absolute;
            right: 0;
            width: r(116);
            height: 100%;
            background-color: #666666;
            font-size: 16px;
            color: white;
            outline: none;
            font-family: arial;
            font-weight: bold;
            text-align: center;
            line-height: r(45);
        }
        input{
            border: 1px solid #666666;
            box-sizing: border-box;
            padding-left: 5px;
            padding-right: r(126);
            font-size: 16px;
            width: 100%;
            height: 100%;
            background-color: transparent;
            color: white;
        }
    }
}
.share{
    margin-bottom: r(45);
    display: inline-block;
    margin-left: r(284);
    vertical-align: bottom;
    a{
        padding-right: 15px;
        i{
            color: white;
            font-size: 18px;
        }  
    }
    a:last-child{
        padding-left: 10px;
    }
}
//目录
#catalog_page_id{
    background-color: white;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
.catalog_cont{
    background-color: white;
    text-align: center;
    margin: 0 auto;
    margin-top: r(100);
}
#catalog_page_close{
    position: absolute;
    top: 30px;
    left: 60px;
    cursor: pointer;
    i{
        font-size: 20px;
    }
}
.catalog_share{
    margin-bottom: 50px;
    a{
        color: black;
        padding-right: 15px;
        i{
            font-size: 20px;
        }
    }
}
.catalog_list{
    width: 25%;
    margin: 0 auto;
}
.catalog_list ul li{
    border-bottom: 1px solid #b9b9b9;
    padding: 30px 0;
    a{
        font-size: 18px;
        color: #000000;
        text-decoration: none;
        
    }
}
.catalog_across{
    width: 100%;
    margin-top: 30px;
    font-size: 14px;
    a{
        padding: 0 8px;
        color: #000000;
    }
}
//搜索
#search_page_id{
    background-color: white;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
.search_cont{
    background-color: white;
    text-align: center;
    width: 80%;
    margin: 0 auto;
    margin-top: r(400);
}
#return{
    position: absolute;
    top: 30px;
    left: 60px;
    cursor: pointer;
}
.search_form{
    form input{
        border: none;
        color: #bbbbbb;
        text-align: center;
        width: 100%;
        font-size: 100px;
    }
    p{
        font-size: 20px;
        margin-top: 20px;
    }
}
//更多按钮
.more_but{
    width: 160px;
    height: 38px;
    border: 1px solid white;
    text-align: center;
    font-size: 14px;
    line-height: 38px;
    color: white;
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.more_but:hover{
    background-color: rgba(255,255,255,0.6);
}
//鼠标移动图片放大
.scale:hover{
    img{
        transform: translate(-50%,-50%) scale(1.05);
        transition: transform 1s;
    }
}
@keyframes scale{
    0%{
        transform: scale(1.0);
    }
    100%{
        transform: scale(1.1);
    }
}
@keyframes bounceInLeft {
  from,
  60%,
  75%,
  90%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    -webkit-transform: translate3d(-3000px, 0, 0);
    transform: translate3d(-3000px, 0, 0);
  }
  60% {
    opacity: 1;
    -webkit-transform: translate3d(25px, 0, 0);
    transform: translate3d(25px, 0, 0);
  }
  75% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
  }
  90% {
    -webkit-transform: translate3d(5px, 0, 0);
    transform: translate3d(5px, 0, 0);
  }
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@keyframes bounceInRight {
  from,
  60%,
  75%,
  90%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    opacity: 0;
    -webkit-transform: translate3d(3000px, 0, 0);
    transform: translate3d(3000px, 0, 0);
  }
  60% {
    opacity: 1;
    -webkit-transform: translate3d(-25px, 0, 0);
    transform: translate3d(-25px, 0, 0);
  }
  75% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0);
  }
  90% {
    -webkit-transform: translate3d(-5px, 0, 0);
    transform: translate3d(-5px, 0, 0);
  }
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@keyframes bounceOutLeft {
  20% {
    opacity: 1;
    -webkit-transform: translate3d(20px, 0, 0);
    transform: translate3d(20px, 0, 0);
  }
  to {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0);
    transform: translate3d(-2000px, 0, 0);
  }
}
@keyframes bounceOutRight {
  20% {
    opacity: 1;
    -webkit-transform: translate3d(-20px, 0, 0);
    transform: translate3d(-20px, 0, 0);
  }
  to {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0);
  }
}


@media only screen and (max-width: 768px){
    #catalog{
        line-height: r(155);
        i{
            font-size: 18px;
        }
    }
    #search{
        line-height: r(155);
        i{
            font-size: 18px;
        }
    }
    .logo{
        width: r(196);
        height: r(155);
    }
    .foot_sign{
        display: none;
    }
    .share{
        margin-bottom: r(45);
        margin-top: r(45);
        margin-left: 0;
        a:last-child{
            padding-right: 0;
        }
    }
    .catalog_cont{
        width: 100%;
    }
    #catalog_page_close{
        position: absolute;
        top: 20px;
        left: 20px;
        i{
            font-size: 14px;
        }
    }
    .catalog_share{
        margin-bottom: 10px;
        a:last-child{
            padding-right: 0;
        }
    }
    .catalog_list{
        width: 70%;
        margin: 0 auto;
    }
    .catalog_list ul li{
        border-bottom: 1px solid #b9b9b9;
        padding: 20px 0;
        margin: 0 auto;
        a{
            font-size: 14px;
        }
    }
    .catalog_across{
        margin-top: 30px;
        font-size: 12px;
    }
    #return{
        top: 20px;
        left: 20px;
    }
    .more_but{
        width: 100px;
        height: 28px;
        font-size: 12px;
        line-height: 28px;
    }
}
